package com.sservice.service.service.impl;

import com.sservice.model.dao.IStatisticShareDao;
import com.sservice.model.entity.StatisticShare;
import com.sservice.model.vo.StatisticShareVo;
import com.sservice.service.service.IStatisticShareService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StatisticShareServiceImpl implements IStatisticShareService {

    private Logger logger = LoggerFactory.getLogger(this.getClass());

    @Autowired
    private IStatisticShareDao dao;


    @Override
    public int deleteByPrimaryKey(Integer id) {
        return dao.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(StatisticShare record) {
        return dao.insert(record);
    }

    @Override
    public int insertSelective(StatisticShare record) {
        return dao.insertSelective(record);
    }

    @Override
    public StatisticShare selectByPrimaryKey(Integer id) {
        return dao.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(StatisticShare record) {
        return dao.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(StatisticShare record) {
        return dao.updateByPrimaryKey(record);
    }

    @Override
    public StatisticShare selectByNo(String no) {
        return dao.selectByNo(no);
    }

    @Override
    public List<StatisticShare> queryByPage(StatisticShareVo ssv) {
        return dao.queryByPage(ssv);
    }

    @Override
    public int queryCount(StatisticShareVo ssv) {
        return dao.queryCount(ssv);
    }

    @Override
    public List<StatisticShareVo> queryMyShareData(StatisticShareVo ssv) {
        return dao.queryMyShareData(ssv);
    }

    @Override
    public List<StatisticShareVo> queryByPageByGroup(StatisticShareVo ssv) {
        return dao.queryByPageByGroup(ssv);
    }

    @Override
    public int queryCountByGroup(StatisticShareVo ssv) {
        return dao.queryCountByGroup(ssv);
    }

}
